package com.ww.gss.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ww.gss.dao.UserDAO;
import com.ww.gss.util.PasswordHelper;

@Service
public class TokenService {
    @Autowired
    private UserDAO dao;

    public String getToken4User(String userid) {
        String result = "";
        PasswordHelper helper = new PasswordHelper();
        result = helper.encryptString(userid);
        return result;
    }

}
